<template>
  <div class="index">
    <router-view></router-view>
      <tab-bar :tabbarArray="tabbarArray"></tab-bar>
  </div>
</template>

<script>
import TabBar from '../components/TabBar'
export default {
  components:{TabBar},
  data(){
    return{
      tabbarArray:[{
        icon:"icon-shouye",
        name:"首页",
        path:'/home'
      },{
        icon:"icon-naicha",
        name:"宝贝分类",
        path:'/sort'
      },{
        icon:"icon-gouwuche",
        name:"购物车",
        path:'/shoppingcart'
      },{
        icon:"icon-wode",
        name:"我的",
        path:'/me'
      }],
    }
  }
}

</script>
<style scoped>
</style>